package com.uvnos4j.matilda.schedule.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uvnos4j.matilda.commons.domain.BaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 调度任务
 * <p>
 * Description:调度任务
 * </p>
 *
 * @author Guo.wl
 * @version v1.0.0
 * @see com.uvnos4j.matilda.schedule.domain
 * @since 2020-08-31 22:42:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "schedule_task")
public class ScheduleTask extends BaseDomain implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 任务key值（使用bean名称）
     */
    @TableField(value = "task_key")
    private String taskKey;
    /**
     * 任务描述
     */
    @TableField(value = "task_desc")
    private String taskDesc;
    /**
     * 任务表达式
     */
    @TableField(value = "task_cron")
    private String taskCron;
    /**
     * 程序初始化是否启动 1 是 0 否
     */
    @TableField(value = "init_start_flag")
    private Integer initStartFlag;

}